import React, {Component} from 'react';
import logo from './logo.svg';
import './App.css';
import {Button, Form} from 'antd';
import Block from 'react-blocks';
import NormalLoginForm from "./NormalLoginForm";
import {BrowserRouter, Route, Router, Switch} from "react-router-dom";
import List from "./List";
import Main from "./Main";

export default class list extends React.Component {
    constructor(props) {
        super(props);
        this.state = {};
    }


    render() {
        let WrappedNormalLoginForm = Form.create()(NormalLoginForm);
        return <div className="App">
            <header className="App-header">
                <img src={logo} className="App-logo" alt="logo"/>
                <h1 className="App-title">Welcome to React</h1>
            </header>
            <Block layout centered>
                <WrappedNormalLoginForm/>
            </Block>
        </div>
    }
}